package com.estate.business;

import java.util.List;

import com.estate.struts.actionForms.ForumDetailActionForm;
import com.estate.vo.Vo;
import com.estate.vo.impl.ForumCommentVo;
import com.estate.vo.impl.ForumVo;
import com.estate.vo.impl.UserInfoVo;

public interface ForumService {

	public boolean addForum(ForumVo forum);
	public List<Vo> getMyForumList(UserInfoVo userInfo);
	public Vo getForumVo(int id);
	public ForumDetailActionForm getForumActionForm(int id);
	public boolean updateForum(ForumVo forum);
	public boolean deleteForum(ForumVo forum);
	public boolean deleteMultiForum(String delStr);
	public boolean updatePost(int id);
	public boolean updateReadNum(ForumVo vo);
	public List<Vo> getAllPostedForumList();
	
	public boolean addComment(ForumCommentVo comment);
	public boolean updateComment(ForumCommentVo comment);
	public Vo getComment(int pk);
	public boolean deleteComment(ForumCommentVo comment);
	
	public List<ForumVo> getMyJoinForum(UserInfoVo userInfo);
}
